package com.buaa.pm.feign.fallback;

import com.alibaba.fastjson.JSONObject;
import com.buaa.pm.feign.ExtractClient;
import com.buaa.pm.model.dto.ParagraphRequestDTO;
import com.buaa.pm.model.dto.ParamRequestDTO;

public class ExtractClientFallback implements ExtractClient {
    @Override
    public JSONObject getParam(ParamRequestDTO paramRequestDTO){
        JSONObject jsonObject = new JSONObject();
        jsonObject.put("msg","接口返回错误");
        System.out.println(jsonObject);
        return jsonObject;
    }
}
